package com.zg.sso.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zg
 */
@Data
@ApiModel(value = "同步用户信息入参", description = "同步用户信息入参")
public class SsoSyncUserInfoReq {

    @NotNull(message = "【username】字段不能为NULL")
    @ApiModelProperty(value = "username")
    private String username;

    @NotNull(message = "【pwd】字段不能为NULL")
    @ApiModelProperty(value = "pwd")
    private String pwd;

    @NotNull(message = "【nickName】字段不能为NULL")
    @ApiModelProperty(value = "nickName")
    private String nickName;

    @NotNull(message = "【orgId】字段不能为NULL")
    @ApiModelProperty(value = "orgId")
    private String orgId;
}
